package com.xdcplus.web.common.enums;

public enum WipCleanHouseReceiveConfirmStatusEnum {
    // 工厂模型中区域类型定义
    NO_CONFIRM("0", "未确认"),
    CONFIRMED("1", "已确认"),
            ;

    private String code;

    private String msg;

    public static String getMsg(String code) {
        for (WipCleanHouseReceiveConfirmStatusEnum ele : values()) {
            if(ele.getCode().equals(code)) {return ele.getMsg();}
        }
        return null;
    }

    WipCleanHouseReceiveConfirmStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
